using System;
using System.Xml;

namespace Common.Security
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class LdapObject
    {
        private string _ObjectID;
        private XmlDocument _XDoc;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        public LdapObject(string id)
        {
            this._ObjectID = id;
            this._XDoc = new XmlDocument();
            this._XDoc.LoadXml("<LdapObject></LdapObject>");
        }

        /// <summary>
        /// 
        /// </summary>
        public LdapObject()
        {
            this._ObjectID = Guid.NewGuid().ToString();
            this._XDoc = new XmlDocument();
            this._XDoc.LoadXml("<LdapObject></LdapObject>");
        }

        /// <summary>
        /// 
        /// </summary>
        public string ObjectID
        {
            get { return _ObjectID; }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="propName"></param>
        /// <param name="propValue"></param>
        public void AddProperty(string propName, string propValue)
        {
        }


    }
}
